package springOne.HelloWorldTwo;

public class ObjectFactory {
	private User getInstance() {
		return new User(500, "工厂：实例化");
	}

	private static User getStaticInstance() {
		return new User(501, "工厂：静态方法");

	}
}
